import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './style.css'
import './assets/styles/index.css'
import App from './App.vue'

import router from './router'
import store from './store'

import './permission' // permission control

const app = createApp(App)
app.use(router)
app.use(store)
app.use(ElementPlus, { zIndex: 5000 })

app.mount('#app')
